home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Windows / INCLUDES / I3DEXTBH.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-11  |  2.7 KB  |  69 lines

  1. /* $Id: I3DEXTBH.H 1.8 1997/04/18 01:24:29 joshua-pc Exp $ */
  2. /*****************************************************************************\
  3. *                                                                             *
  4. * I3DExTBh.h -     I3DExTreeBehavior definition                                              *
  5. *                                                                             *
  6. *           Copyright (c) 1995, Ray Dream, Inc. All rights reserved.          *
  7. *                                                                             *
  8. \*****************************************************************************/
  9.  
  10. #ifndef __I3DEXTBH__
  11. #define __I3DEXTBH__
  12.  
  13. #ifndef __I3DEX__
  14. #include "I3DEx.h"
  15. #endif
  16.  
  17. #ifndef __I3DSHTRE__
  18. #include "I3DShTre.h"
  19. #endif
  20.  
  21. //****** Globally Unique Ids *************************************************
  22.  
  23. DEFINE_GUID(IID_I3DExTreeBehavior, 0x5C9601A1L, 0x7CC3, 0x101C, 0x88, 0x5F, 0x04, 0x02, 0x1C, 0x00, 0x70, 0x02);
  24. DEFINE_GUID(IID_I3DExTreeBehavior10, 0x8c9c1b40, 0x9bae, 0x11d0, 0x88, 0xa9, 0x44, 0x45, 0x53, 0x54, 0x0, 0x0);
  25.  
  26. /*****************************************************************************\
  27. *  I3DExTreeBehavior                                                          *
  28. *                                                                             *
  29. *  Tree Elements Behavior                                                     *
  30. *                                                                             *
  31. \*****************************************************************************/
  32.  
  33. #define kTreeBehaviorRemoveTransformTrack 1
  34. #define kTreeBehaviorLockSetTransform 2
  35.  
  36. #undef  INTERFACE
  37. #define INTERFACE   I3DExTreeBehavior
  38.  
  39. DECLARE_INTERFACE_(I3DExTreeBehavior, I3DExDataExchanger) {
  40.     // IUnknown methods
  41.   STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  42.   STDMETHOD_(ULONG, AddRef) (THIS) PURE;
  43.   STDMETHOD_(ULONG, Release) (THIS) PURE;
  44.   
  45.     // I3DExtension methods
  46.     STDMETHOD_(I3DExtension*, Clone) (THIS) PURE;
  47.     STDMETHOD(ShellUtilitiesInit) (THIS_ IShUtilities* shellUtilities) PURE;
  48.  
  49.   // I3DExDataExchanger methods
  50.     STDMETHOD_(ExtensionDataMap*, GetExtensionDataMap) (THIS) PURE;
  51.     STDMETHOD_(void*, GetExtensionDataBuffer) (THIS) PURE;
  52.   STDMETHOD(ExtensionDataChanged) (THIS) PURE;
  53.   STDMETHOD(HandleEvent) (THIS_ ULONG sourceID) PURE;
  54.     STDMETHOD_(short, GetResID) (THIS) PURE;
  55.   
  56.   // I3DExTreeBehavior methods
  57.     STDMETHOD(Apply) (THIS_ I3DShTreeElement* tree) PURE;
  58.     };
  59.  
  60. #undef  INTERFACE
  61. #define INTERFACE   I3DExTreeBehavior10
  62.  
  63. DECLARE_INTERFACE_(I3DExTreeBehavior10, I3DExTreeBehavior) {
  64.   // I3DExTreeBehavior10 methods
  65.     STDMETHOD_(long, GetFlags) (THIS) PURE;
  66.     };
  67.  
  68. #endif
  69.